﻿// -----------------------------------------------------------------------
// <copyright file=DmTrangThaiGiaDinhBusiness company="">
// TODO: dangppsoft@gmail.com
// </copyright>
// -----------------------------------------------------------------------
namespace ManagerClinic.Core.Business
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using ManagerClinic.Core.Common;
    using ManagerClinic.Core.DataAccess;

    public class DmTrangThaiGiaDinhBusiness
    {
        DmTrangThaiGiaDinhDataAccess objDa = null;

        public DmTrangThaiGiaDinhBusiness()
        {
            objDa = new DmTrangThaiGiaDinhDataAccess();
        }

        public bool InsertDmTrangThaiGiaDinh(DmTrangThaiGiaDinhEntity obj)
        {
            return objDa.InsertDmTrangThaiGiaDinh(obj);
        }

        public bool EditDmTrangThaiGiaDinh(DmTrangThaiGiaDinhEntity obj)
        {
            return objDa.EditDmTrangThaiGiaDinh(obj);
        }

        public bool DeleteDmTrangThaiGiaDinh(string maTrangThai)
        {
            return objDa.DeleteDmTrangThaiGiaDinh(maTrangThai);
        }

        public DmTrangThaiGiaDinhEntity GetDmTrangThaiGiaDinh(string maTrangThai)
        {
            return objDa.GetDmTrangThaiGiaDinh(maTrangThai);
        }

        public IList<DmTrangThaiGiaDinhEntity> GetDmTrangThaiGiaDinhList()
        {
            return objDa.GetDmTrangThaiGiaDinhList();
        }

    }
}